<template>
	<div id ="originalRmList" class="my_panel">
		<el-row type="flex" class="row-bg" justify="center">
			<el-col :span="24">
				<el-card class="box-card">
					<div slot="header" class="clearfix">
					    <el-button type="primary" icon="el-icon-plus" 
								   class="circle_btn" 
								   @click="addRm()">
					    </el-button>
					</div>
					  
					<el-table :data="iterationList" stripe border show-overflow-tooltip>
				        <el-table-column prop="name" label="需求名称" width="150"></el-table-column>
						<el-table-column prop="creator" label="状态" ></el-table-column>
				        <el-table-column prop="creator" label="创建人"></el-table-column>
				        <el-table-column prop="createtime" label="创建时间" ></el-table-column>
				        <el-table-column prop="op" fixed="right" label="操作" width="150">
				      	<template scope="scope">
							<el-button type="text" size="small">分解SR</el-button>
					        <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
					        <el-button type="text" size="small">删除</el-button>
					     </template>
				      </el-table-column>
				    </el-table>
			    </el-card>
			</el-col>
      </el-row>
      
	</div>
</template>

<script>
	export default {
		created(){
        },
	    data() {
	      return {
	      	iterationList: [{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '接入1.5Refarming',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         },{
	            name: '存量经营 V212938374930284 EM家宽合作开发项目',
	            statue: '未开始',
	            creator: 'twx223386',
	            createtime: '2017-10-10',
	            starttime: '2017-10-10',
	            endtime: '2017-11-10',
	            storyNum: '15',
	            code: '75人天',
	         }]
	      }
		},
	    methods: {
			addRm(){
				this.$router.push({ name: 'editrmmgr'});
			}
	    }
	}
</script>

<style>
.box-card{
	width:100%
}
</style>